const config = {
	// //测试
	// apiUrl:'http://localhost:3030',
	// fileUrl:'http://localhost:3030'
	
	//线上
	apiUrl: 'http://101.33.206.34:3030',
	fileUrl: 'http://101.33.206.34:3030'
}

config.formatFileUrl = function(url) {
	if (url&&url.indexOf('http:') === -1) {
		return config.fileUrl + url;
	} else {
		return url;
	}
}

module.exports = config;
